package com.kou.backend.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kou.backend.entity.FileResourceDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @author kou
 * @description 针对表【op_file_resource(文件表)】的数据库操作Mapper
 * @createDate 2025-07-01 13:57:49
 * @Entity com.kou.backend.entity.FileResourceDO
 */
public interface FileResourceDao extends BaseMapper<FileResourceDO> {
    FileResourceDO selectOneByFileMd5(@Param("fileMd5") String fileMd5, @Param("storageType") String storageType);

    List<FileResourceDO> selectAllByFileMd5(@Param("fileMd5") String fileMd5);
}




